
import 'package:flutter/cupertino.dart';
//
//纵向 padding
//
class VerPadding extends StatelessWidget {
  const VerPadding(this.padding, {Key? key}) : super(key: key);

  final double padding;
  @override
  Widget build(BuildContext context) {
    return Padding(padding: EdgeInsets.only(top: padding));
  }
}

class HorPadding extends StatelessWidget {
  const HorPadding(this.padding, {Key? key}) : super(key: key);

  final double padding;
  @override
  Widget build(BuildContext context) {
    return Padding(padding: EdgeInsets.only(left: padding));
  }
}
